package com.xxxt.dao;

import com.xxxt.entity.Admin;
import com.xxxt.entity.Student;
import com.xxxt.entity.Teacher;

/**
 * 各个身份的登录，修改密码
 * @author 星梦
 *
 */
public interface CommonMapper {
	public Student studentLogin(String name,String password);
	public Teacher teacherLogin(String name,String password);
	public Admin adminLogin(String name,String password);
	public Boolean updatePasswordById(String table,String password,String account,String id);
	public Integer selectStudentByIdAndPassword(String table,String account,String id,String password);
}
